home *** CD-ROM | disk | FTP | other *** search
/ The 640 MEG Shareware Studio 2 / The 640 Meg Shareware Studio CD-ROM Volume II (Data Express)(1993).ISO / utility / masdir54.zip / MASDIR.TUT < prev    next >
Text File  |  1991-04-22  |  24KB  |  448 lines

  1.  
  2.      SDL.COM - TUTORIAL - Copyright (c) 1987,88,89,90,91 Bob Stephan
  3.  
  4.  
  5.  
  6.      You will be able to browse through the TUTORIAL information at your
  7.       own pace.  Just use the keys on the cursor pad to turn the pages as
  8.       you read.  Note the reminder at the top of the screen, and remember
  9.       that you can exit at any time by pressing Esc.
  10.  
  11.      I hope you will take a few minutes to complete this TUTORIAL which
  12.       includes some explanation and then the DEMO.  This will help you to
  13.       understand and make full use of SDL.
  14.  
  15.      In addition to this general documentation, be sure to read the new
  16.       features file.  Either select it from the README menu, or just read
  17.       the file named MASDIR54.NEW.
  18.  
  19.  
  20.  
  21.      (Now press the PgDn key to turn the page).
  22.  
  23.  
  24.  
  25.      SDL TUTOR file for SDL.COM, Sorted Directory and Disk Label Printer
  26.       Version 5.4, April 1991, Copyright (c) 1987,88,89,90,91 Bob Stephan
  27.  
  28.      MASDIR (pronounced 'master') is an acronym for MASter DIRectory
  29.       System.  SDL is the main program.  To use SDL simply copy SDL.COM to
  30.       the disk and/or directory where you keep your other DOS command files
  31.       or utilities.  Then just use SDL in the same way you use DIR.
  32.  
  33.      This is a brief explanation of the features of SDL.COM.  After you
  34.       become familiar with these basics, please run the demo and read any
  35.       additional information provided to learn how to get the most out of
  36.       SDL.
  37.  
  38.      WHAT IS SDL AND WHAT CAN IT DO?
  39.  
  40.      SDL is a Sorted Directory Listing program that is used in place of the
  41.       DOS DIR command.  You can invoke it from the DOS prompt just like
  42.       DIR, and it accepts the same file specifications (filespecs) that DIR
  43.       does including paths and wild cards.
  44.  
  45.      But there the similarity ends.  SDL has these features and more:
  46.  
  47.      <>  Sorts the listing alphabetically by name, or optionally by
  48.          extension, date, size, or (like DIR) not at all.
  49.  
  50.      <>  Presents the listing in 2, 4 or 6 columns of file names in easy to
  51.          read format.  This permits you to see up to 126 file names on the
  52.          screen to get a good overall view of the contents of the disk or
  53.          directory.  SDL automatically calculates the number of columns to
  54.          use, or you can specify the format you want.
  55.      <>  Pauses after each screen until you are ready to continue.  At the
  56.          pause you can make new option selections, page backward or
  57.          forward, exit, or continue.
  58.  
  59.      <>  The options are selectable at the DOS  prompt by adding them to
  60.          the SDL command (like you can add /P or /W to the DIR command).
  61.  
  62.      <>  Many options can also be selected from a menu that is presented at
  63.          the bottom of the screen at the end of the listing.  This permits
  64.          you to change your mind as often as you like, and adjust the
  65.          listing to obtain just the right information from it without
  66.          having to return to DOS and enter a new command.
  67.  
  68.      <>  Other useful options are available that will be explained further
  69.          in this TUTORIAL and in the DEMO to follow.
  70.  
  71.      <>  A setup program lets you select your own defaults for the various
  72.          options by entering single keystroke answers to a few questions.
  73.          You can make SDL work the way you want it to.
  74.  
  75.      <>  On screen help by entering SDL /? at the DOS prompt.
  76.  
  77.      <>  Unique to SDL are some excellent printing capabilities! With a
  78.          single keystroke you can print the directory you see on the screen
  79.          in your choice of five print modes:
  80.  
  81.          1. Regular printing in whatever mode your printer is set for with
  82.             no changes to your printer setting.
  83.  
  84.          2. A "sleeve insert", which is printed on your regular printer
  85.             paper in a format that can be trimmed to a convenient size to
  86.             slip into the diskette sleeve for future reference.
  87.  
  88.          3. A disk label which can be printed on the special labels that
  89.             are included with the SDL system kit.  This uses compressed
  90.             print and 8 lines per inch to fit the filenames into a small
  91.             space.
  92.  
  93.          4. Another style of disk label printing which uses "tiny" printing
  94.             to fit even more names onto a label.  Tiny print makes use of
  95.             the compressed and superscript modes that are available on
  96.             Epson compatible printers.
  97.  
  98.          5. Print-to-file to save a file copy of the directory listing.
  99.  
  100.      <>  Very useful when using the print options is the ability to enter
  101.          up to 3 lines of titles for your sleeve inserts or labels.  Two of
  102.          these lines can be customized with the setup program, and any or
  103.          all of the 3 can be specialized for any individual listing.
  104.  
  105.      HOW TO USE SDL
  106.  
  107.      To use SDL simply copy SDL.COM to the disk and/or directory in which
  108.       your other DOS commands and utilities are kept.  Then use SDL in the
  109.       same way you use DIR.
  110.  
  111.      Be sure to back up your SDL diskette by copying everything to another
  112.       diskette.  You will probably want to customize SDL with the setup
  113.       program, so make a working disk or directory by copying just the
  114.       SDL*.* files from the MASDIR disk to a working disk or directory.
  115.       You can use the program INSTALL to help you do this.  Just enter
  116.       INSTALL at the DOS prompt, or select it from the MASDIR menu.
  117.  
  118.      There is a full DEMOnstration available on this disk.  You will be
  119.       given a chance to run the DEMO at the end of the SDL TUTOR program.
  120.       To run it later by itself just enter DEMO.
  121.  
  122.      SDL is used very much like DIR.  It takes the same path and file
  123.       specifications, but it presents a much more readable listing.  By
  124.       using 2, 4, or 6 columns of file names instead of one, it lists many
  125.       more files on one screen.  If the screen becomes full, it
  126.       automatically pauses.  You can immediately shift to a different
  127.       number of columns to see more files on the screen, exit if you have
  128.       seen enough, or continue with the listing.
  129.  
  130.      SDL can be used in menu mode.  Enter SDL with your filespec just like
  131.       DIR, then make your selections from the menu at the bottom of the
  132.       screen.
  133.  
  134.      SDL also has many options that can be entered on the command line in
  135.       the usual fashion using / as a "switch" or option indicator.  The
  136.       command line is the line on which you enter your DOS commands at the
  137.       DOS  prompt.  At first, SDL /? will be useful to bring up a help
  138.       screen.  The /? option displays a reminder of the syntax and options.
  139.       To see these help screens just enter SDL /? at the DOS prompt.  You
  140.       will be given a chance to see this screen during the DEMO.
  141.  
  142.      Although there are quite a few options to provide the capabilities
  143.       requested by users, you will find them to be quite intuitive and easy
  144.       to use.  After a few minutes of experimentation you will find a few
  145.       of them that you like to use.  This experimentation can be taken care
  146.       of in the DEMO program to follow.
  147.  
  148.      As soon as you find the options that you like, you can customize your
  149.       copy of SDL with the SDLSETUP program.  We have tried to configure
  150.       SDL the way we believe most users would like it, but you might want
  151.       to change it for your own use.  If you would like one or more of the
  152.       defaults to work differently, run SDLSETUP.  Then it will only be
  153.       necessary to use options occasionally when you want something
  154.       different.  The SDL /? help screen is always available as a reminder
  155.       at those times.  The MENU program will give you an opportunity to
  156.       read the SDLSETUP documentation, but SDLSETUP is easy to use,
  157.       requiring only simple answers.
  158.  
  159.      The printing capabilities of SDL are most useful and remarkably easy
  160.       to use.  For example, to print a label for the diskette in drive A,
  161.       just enter SDL A: /L.  Nothing could be simpler.  The /L is an option
  162.       mnemonic for Label, and SDL will calculate how many file names it can
  163.       fit on a label and select the print mode to do it.  Of course, if you
  164.       want more control, and less automation, SDL will always let you make
  165.       your own specifications.  You can print labels in either of two print
  166.       styles, labels and sleeve inserts, in a variety of sort orders and
  167.       columns of file names, or you can print with your own normal printer
  168.       setting.  The 3-line title option (/E) provides a means to include
  169.       printed explanatory information about the contents and use of the
  170.       files on the disk.
  171.  
  172.      You now have enough information to experiment with SDL.  To display a
  173.       directory at the DOS prompt (A>, etc.), enter SDL just as you would
  174.       the DIR command.  This is called the "command line".  On the command
  175.       line you may include one or more of the useful options, such as /X to
  176.       sort the files alphabetically by their eXtensions, or /S by their
  177.       Size.  The default is to sort alphabetically by Name.  (The DEMO will
  178.       show you more.)
  179.  
  180.      Example: SDL B: /S /4
  181.  
  182.      will display the files on the B: drive in 4 columns sorted by size.
  183.  
  184.      The reminder line at the top of the display gives a terse list of the
  185.       options available to use on the command line, with the key letters
  186.       shown in CAPS.  It looks like this:
  187.  
  188. /OPTS:/? More PRInt Cls titlE Hdr Fre Lbl All rK Byt Wid 2 4 6 N X S D[n] - dOs
  189.  
  190.      Use the key letters in CAPS, or '?', or one of the numbers 2, 4, or 6,
  191.       each preceded by the 'switch' character '/' as shown in the example.
  192.  
  193.      Start out with the different column numbers (/2 /4 or /6) and
  194.       different sort orders (/N for name, /X for extension, /S for size, /D
  195.       for Date, or /O for no sort at all to view the files in the same
  196.       mixed up order that DIR would show them).  The letter options can be
  197.       entered in either upper or lower case.  They are shown in upper case
  198.       merely to highlight them as key characters.  After you see how easy
  199.       it is, you can learn about the other options, or just try them to see
  200.       what happens.
  201.  
  202.      A few experiments will quickly give you the hang of it.  The DEMO that
  203.       follows will guide you through a few examples, then you can try it
  204.       out on your own when you finish the DEMO.
  205.  
  206.      Try all of the options, but note that you must have a printer on line
  207.       to use the /P or /L options.  /P will display a print options menu
  208.       from which you can select F(ile), L(abel), I(nsert), R(egular), or
  209.       T(iny).  For I, T and L the printer must be Epson/IBM compatible.
  210.       (Contact me if you want to use SDL with some other printer.) The R
  211.       option will print with any printer - just set the print mode that you
  212.       want then use SDL.
  213.  
  214.      Important! On multi-screen displays, at the bottom of each screen or
  215.       directory you will be presented with a prompt containing some of the
  216.       same options you saw in the reminder line at the top.  This is
  217.       intermediate menu.  If you select one of the options shown using the
  218.       letter in CAPS or the number, that action to be taken immediately.
  219.       If you press any key (including ENTER) that is NOT shown in the
  220.       prompt, SDL will continue normally.  When it has completed the
  221.       display of the directory you can EXIT by pressing Esc, End, space, or
  222.       Enter(Return).  To eliminate the pausing and the menus you can use
  223.       the /M (for More) switch on the command line.
  224.  
  225.      Just remember, if you want to display the directory AGAIN, press only
  226.       one of the keys shown in CAPS or numbers.  If you want to exit or
  227.       continue, press Esc, Space, End, or Enter.  For example, if you want
  228.       to change COL's, simply press the 2, 4, or 6 key.
  229.  
  230.      By permitting you to adjust the display of the directory without
  231.       exiting to DOS, SDL is much more useful than many other programs.
  232.       Along with the label and sleeve insert printing capabilities, it
  233.       should prove to be an invaluable addition to your software library.
  234.       Don't forget to use SDLSETUP to set it up YOUR way!
  235.  
  236.      Just a note about reading documentation on the disk.  You are reading
  237.       this file using a public domain program named SDL_SHOW.  If you want
  238.       to use it to view the setup documentation, enter SDL_SHOW
  239.       SDLSETUP.DOC or type README to bring up the menu.
  240.  
  241.      Use the cursor pad keys to browse, and remember that you can exit at
  242.       any time by pressing Esc.
  243.  
  244.      Finally, there are some additional programs on this disk.  These are
  245.       provided at no extra charge.  They are not to be sold commercially
  246.       and are not part of the SDL package.  They are provided simply as a
  247.       free service.  You might find some of them useful.  Most are public
  248.       domain programs and are provided on an "as is" basis.  Each file is
  249.       accompanied by a .DOC file explaining briefly its purpose and use.
  250.       Any "shareware" programs will explain the concept of shareware and
  251.       request a fee for continued use.  Use SDL to display the names of all
  252.       of the DOC files by entering the command
  253.  
  254.      SDL *.DOC
  255.  
  256.      then take a few minutes to read them.  They are short enough to use
  257.       TYPE, but you can use SDL_SHOW to display them, or any other file
  258.       display program such as Verm Buerg's LIST.
  259.  
  260.      * ! ! ! ! ! ! ! ! ! ! ! I M P O R T A N T ! ! ! ! ! ! ! ! ! ! ! ! ! *
  261.      *   MASDIR54.ZIP is a complete copy of the user-supported version   *
  262.      *   of SDL.COM and associated files.  It contains all the files     *
  263.      *   "zip"ped into one compressed file.  Popular zipping programs    *
  264.      *   such as PKUNZIP can restore the files in MASDIR54.ZIP to a      *
  265.      *   workable system.  DO NOT MIX THE FILES FROM MASDIR54.ZIP        *
  266.      *   WITH ANY OF THE OTHER FILES ON THE DISK!! You may, however,     *
  267.      *   give copies of MASDIR54.ZIP to your friends, donate a copy to   *
  268.      *   your user group software library, and upload copies to          *
  269.      *   electronic bulletin board systems.  Remember, protect your      *
  270.      *   investment in SDL by keeping the entire system separate         *
  271.      *   from the files in MASDIR54.ZIP.  Although they have similar      *
  272.      *   capabilities, they are incompatible with each other.            *
  273.      * ! ! ! ! ! ! ! ! ! ! I M P O R T A N T ! ! ! ! ! ! ! ! ! ! ! ! ! ! *
  274.  
  275.      Thank you for taking these few minutes to become acquainted with a few
  276.       of the features of SDL.  It may be slightly confusing at first, most
  277.       powerful programs are, but your patience will be well rewarded.
  278.       After a few more minutes in the DEMO, you will have a much clearer
  279.       picture about what SDL can do for you.  Trying to explain it
  280.       makes it sound much more complicated than it really is.
  281.  
  282.      Don't be hesitant to try out SDL on your own.  After you see the
  283.       usefulness of the many features, you will want to run SDLSETUP to
  284.       customize SDL to your own tastes.  Please let us know if you have any
  285.       problems, questions, or suggestions.
  286.  
  287.      That concludes the TUTOR information.  We have prepared a
  288.       demonstration program to show you how to use some of the features of
  289.       SDL.  This would be a good time to take a look at the demo.
  290.  
  291.      In addition to this general documentation, be sure to read the new
  292.       features file.  Either select it from the README menu, or just read
  293.       the file named MASDIR54.NEW.
  294.  
  295.                     MASDIR - The MASter DIRectory System
  296.               Review of new features introduced in Release 4.3
  297.         ************************************************************
  298.                    Special Offer--FREE LABELS--See Below
  299.  
  300.        The main enhancement is printing directory labels for 3.5"
  301.       disks.  This is controlled by the 3 and 5 options--3 for 3.5"
  302.       disks and 5 for  5.25" disks. On the command line you can enter
  303.       either /3 or /5 to prepare SDL to print the style of label you
  304.       want. The Print Options menu is brought up by entering either P
  305.       or R from the menu, or /P or /R on the command line. From this
  306.       menu you can select, or change your selection, by pressing either
  307.       3 or 5 as appropriate. The default 3.5" disk form depth is set
  308.       for the 2-3/4" labels that wrap around the top of the disk. The
  309.       setup program permits setting it for the 2" labels that do not
  310.       wrap.  The default is set for the 5.25" labels, so use the 3 or
  311.       /3 option to get 3.5" labels, or change it with SDLSETUP.
  312.  
  313.        There is also a new W or /W option that will list the files in
  314.       sort order across the Width of the screen vice down the columns.
  315.       When printing a 3.5" disk label this is the only method of list-
  316.       ing file names that is available, but for listing on the screen
  317.       or on a 5" label you can choose by toggling with W or /W.
  318.  
  319.        Another new feature is the option to set the cluster size for
  320.       the total bytes. Since 1.2Mb and 1.44Mb disks use 1-sector
  321.       clusters, the default rounding up of the file size total in 1Kb
  322.       increments is not accurate for these disks (or for hard disks).
  323.       A new /B (for Bytes) command line option is available to adjust
  324.       for the number of kilobytes per cluster. /B1 (the default) for 1
  325.       Kb (2 sectors) per cluster as on 360k and 720k diskettes, /B for
  326.       .5 Kb (1 sector) per cluster as on 1.2Mb and 1.44Mb diskettes,
  327.       and /Bn, n=2-8 for hard disks as appropriate where n indicates
  328.       the number of Kb per cluster. This option is only available on
  329.       the command line, but SDLSETUP is able to set the default as
  330.       desired. Note that /Bnothing (or /Banything other than 1-8) drops
  331.       to 1 sector per cluster, and /B1 is the same as the current de-
  332.       fault.  The number, if used, must immediately follow the B with
  333.       no spaces.
  334.  
  335.       A few notes about 3.5" disk labels: (For convenience the labels
  336.       and disks will be referred to as 3" and 5".)
  337.  
  338.       Until actual printing is started the screen display will be the
  339.       normal display.  If 3" disk label or Insert printing is selected,
  340.       each line of the display will be split to fit the 2-3/4" width of
  341.       the label.  Thus, a 2 column screen display will result in a 1
  342.       column 3" disk label, a 4 column screen display will be a 2
  343.       column label, and a 6 column screen display will be a 3 column
  344.       label.  The 2, 4, and 6 selections remain unchanged for either
  345.       type of label.  To keep the file names sorted properly, the W op-
  346.       tion will automatically be invoked during the printing of labels
  347.       for 3" disks.
  348.  
  349.                                      -2-
  350.  
  351.       The R print option is not affected by the label setting, but the
  352.       File option is.  You can use this to create a directory catalog
  353.       file with space for your own comments after each file name.
  354.  
  355.       When entering titles for 3" labels, each line will be split after
  356.       the 40th character.  The vertical bar indicates the position of
  357.       the last character that goes on the first line of the split.  The
  358.       next character after the bar will start the second line of the
  359.       split.  If you need to see the effect of the split on the screen
  360.       before printing use the File option and create a temporary file
  361.       that can be erased later or specify the NUL output device which
  362.       gives no output at all but does show the screen display.  Then
  363.       "what you see is what you get".  When it is what you want you can
  364.       select the print mode.
  365.  
  366.       FREE LABELS!  With each registration of Release 4.3 you may
  367.       select ONE (1) FREE unit of labels from the ORDER FORM.  Just write
  368.       FREE in the Amount column.  You must include the $2 handling fee
  369.       with any label order, FREE or not.  This offer may be retracted
  370.       or changed at any time.  Units are either 100 or 50 labels as
  371.       indicated in the Quantity column of the Order Form.
  372.  
  373.          ************************************************************
  374.               Review of new features introduced in Release 4.2
  375.  
  376.        Use of the PgUp, PgDn, Home, and End keys.  These keys can be
  377.       very useful for paging backward and forward through large direc-
  378.       tories.  Pressing the PgUp key will redisplay the previous
  379.       screen.  This can also be used on the first screen to eliminate
  380.       the header completely and display up to 144 filenames on one
  381.       screen. B for Back will also work.  PgDn pages to the next screen
  382.       the same as C, End ends the display the same as Esc, and Home
  383.       returns to the first screen--similar to pressing C at the end menu,
  384.       but Home can also be used for this purpose at the intermediate
  385.       menu. To quickly get to the end of the listing, press the '-' key.
  386.  
  387.        Reverse sorting.  The '-' character is the symbol to sort the
  388.       file names in descending, vice ascending order.  On the command
  389.       line this can be /-, /a-, or /-a where a is one of the alphabetic
  390.       characters N, X, S, or D. (There is no reverse for DOS order.)
  391.       At either the end or the intermediate menu, pressing the "-" key
  392.       will re-sort the names in reverse order using the same sort field.
  393.  
  394.        The third major new feature is the print-to-file capability.
  395.       Now on the Print Options menu a "File" option appears. If you
  396.       select F you will be prompted for a file name.  This can be any
  397.       valid non-ambiguous file specification (no wildcards). If the
  398.       file exists, the directory output will be appended to the end of
  399.       the file.  Be careful not to use reserved DOS names such as COM1,
  400.       AUX, LPT1, PRN, NUL, etc.; although you can use NUL to preview
  401.       the printing of a disk label with no output.
  402.  
  403.                                      -3-
  404.  
  405.          ************************************************************
  406.               Review of new features introduced in Release 4.1
  407.  
  408.        Control of printing is much more versatile.  The prompt line in-
  409.       dicates whether printing is on or off (Prn=ON or Prn=OFF).  The P
  410.       option brings up a print menu.  On the print menu Esc will turn
  411.       printing off if it was on, or exit without turning it on.  Press-
  412.       ing C for Cls turns on page eject (ff for form feed).  This is
  413.       also indicated on the prompt line with (ff=ON or ff=OFF).
  414.  
  415.        Disk Free Space is no longer shown unless specifically asked for
  416.       with the /F option on the command line, or F at the menu.  DOS
  417.       takes a noticeable amount of time to calculate the disk free
  418.       space, so eliminating the display of this information greatly
  419.       speeds up the directory display.
  420.  
  421.        The calculation of the total "Bytes in xxx Files" is rounded up
  422.       to the next exact kilobyte for each file.  (Individual file sizes
  423.       are not.)
  424.  
  425.        SDL automatically adjusts for any number of lines of text your
  426.       monitor is set for such as 43 line EGA, or 50 line VGA modes.
  427.  
  428.               Additional New Configuration Features in SDLSETUP
  429.  
  430.        A setup option to use the box drawing characters on the printer
  431.       like those on the screen. (Use only if your printer supports it.)
  432.  
  433.        Suppression of the . and .. file directory entries.
  434.  
  435.        The sort orders of N for Name (the default), X for eXtension, D
  436.       for Date, and O for Original or dOs (nO sort at all), are avail-
  437.       able.
  438.  
  439.        SDLSETUP now has a (cr) option to select "no change" for any
  440.       question and just move on to the next.  Pressing Esc will skip to
  441.       the next section.
  442.  
  443.        You can adjust the number of rows that you want on labels when
  444.       you use the Tiny option to get the maximum your printer will sup-
  445.       port.
  446.  
  447.       ******* Now, if you want to exit, remember to press Esc. *******
  448.